package org.wang.generalcode.modules.sys.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 系统消息实体类
 *
 * @author wz
 * @since 2024-08-08
 */
@Data
@Schema(description = "系统消息")
@TableName("sys_message")
public class Message implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	* 主键
	*/
	@Schema(description = "主键")
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	/**
	* 创建人ID
	*/
	@Schema(description = "创建人ID")
	private Long createBy;
	/**
	* 创建时间
	*/
	@Schema(description = "创建时间")
	private LocalDateTime createTime;
	/**
	* 修改人ID
	*/
	@Schema(description = "修改人ID")
	private Long updateBy;
	/**
	* 更新时间
	*/
	@Schema(description = "更新时间")
	private LocalDateTime updateTime;
	/**
	* 逻辑删除标识(1-已删除 0-未删除)
	*/
	@Schema(description = "逻辑删除标识(1-已删除 0-未删除)")
	private Integer isDeleted;


}
